<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center orderDetailes_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub orderDetailes_fd0_0'>
					<view class='flex flex-wrap align-center orderDetailes_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  orderDetailes_fd0_0_c0_c0'>&#xe794;</text>
					</view>
					<text class='orderDetailes_fd0_0_c1'>订单详情</text>
					<view class='flex flex-wrap align-center orderDetailes_fd0_0_c0'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---flex布局flex布局开始-->
			<view class="flex flex-wrap align-center benben-flex-layout orderDetailes_flex_1">
				<image class='orderDetailes_fd1_0' mode="aspectFit" :src='STATIC_URL+"129.png"'></image>
				<text class='orderDetailes_fd1_1'>{{detailsData.order_status_name}}</text>
			</view>

			<!---flex布局flex布局结束-->
			<!---地址flex布局开始-->
			<view class="flex benben-flex-layout flex-wrap align-center orderDetailes_flex_2">
				<image class='orderDetailes_fd2_0' mode="aspectFit" :src='STATIC_URL+"130.png"'></image>
				<view class='flex flex-direction flex-wrap align-stretch flex-sub orderDetailes_fd2_1'>
					<view class='flex flex-wrap align-center orderDetailes_fd2_1_c0'>
						<text class='orderDetailes_fd2_1_c0_c0'>{{detailsData.address_info.contacts}}</text>
						<text class='orderDetailes_fd2_1_c0_c0'>(</text>
						<text class='orderDetailes_fd2_1_c0_c0' v-if=" detailsData.address_info.sex=='1'">先生</text><text
							class='orderDetailes_fd2_1_c0_c0' v-if=" detailsData.address_info.sex=='2'">女士</text>
						<text class='orderDetailes_fd2_1_c0_c0'>)</text>
						<text class='orderDetailes_fd2_1_c0_c4'>{{detailsData.address_info.telephone}}</text>
					</view>
					<text class='orderDetailes_fd2_1_c1'>{{detailsData.address_info.address}}</text>
				</view>
				<!-- <image class='orderDetailes_fd2_2'  mode="aspectFit"  :src='STATIC_URL+"59.png"'></image>
 -->
				<image class='orderDetailes_fd2_3' mode="aspectFill" :src='STATIC_URL+"80.png"'></image>
			</view>

			<!---地址flex布局结束-->
			<!---订单信息flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout orderDetailes_flex_3">
				<view class='flex flex-wrap align-center orderDetailes_fd3_0'>
					<text class='orderDetailes_fd3_0_c0'>预约信息</text>
					<text class='order_fd2_1_c0_c20089' v-if="detailsData.service_type == '1'">一口价</text>
					<text class='order_fd2_1_c0_c20089' v-if="detailsData.service_type == '2'">议价</text>
					<text class='order_fd2_1_c0_c20089' v-if="detailsData.service_type == '3'">竞价</text>
					<text class='orderDetailes_fd3_0_c1'>{{detailsData.door_time}}</text>
				</view>
				<view class='flex flex-wrap align-center orderDetailes_fd3_1'>
					<image class='orderDetailes_fd3_1_c0' mode="aspectFill" :src='detailsData.serviceproject_photo'>
					</image>
					<view
						class='flex flex-direction flex-wrap align-stretch justify-between flex-sub orderDetailes_fd3_1_c1'>
						<text class='orderDetailes_fd3_1_c1_c0'>{{detailsData.serviceproject_biaoti}}</text>
						<view class='flex flex-wrap align-center justify-between orderDetailes_fd3_1_c1_c1'>
							<text class='orderDetailes_fd3_1_c1_c1_c0'>{{detailsData.specs_name}}</text>
							<view class='flex flex-wrap align-center'>
								<text>x</text>
								<text>{{detailsData.num}}</text>
							</view>
						</view>
						<view class='flex flex-wrap align-center'>
							<text class='orderDetailes_fd3_1_c1_c2_c0'
								v-if="detailsData.service_type == '2'">定金金额</text>
							<text class='orderDetailes_fd3_1_c1_c2_c0' v-else>服务金额</text>
							<view class='flex flex-wrap align-end orderDetailes_fd3_1_c1_c2_c1'>
								<text class='orderDetailes_fd3_1_c1_c2_c1_c0'>￥</text>
								<text class=' orderDetailes_fd3_1_c1_c2_c1_c1'>
									<text>{{ detailsData.retainer | frontPrice }}</text>
									<text
										class=' orderDetailes_price2_fd3_1_c1_c2_c1_c1'>{{ detailsData.retainer | laterPrice }}</text>
								</text>
							</view>
						</view>
					</view>
				</view>

				<view class='flex flex-wrap align-start orderDetailes_fd3_1' v-if=" detailsData.notes!=''">
					<text class='orderDetailes_fd3_3_c0'>备注(选填)</text>
					<text class='flex-sub orderDetailes_fd3_3_c1'>{{detailsData.notes}}</text>
				</view>
				<view class='flex flex-wrap align-center orderDetailes_fd3_2'>
					<template v-for='(item,key0) in detailsData.photo'>
						<view class='flex flex-wrap align-center orderDetailes_fd3_2_c0' :key='key0'>
							<image class='orderDetailes_fd3_2_c0_c0' mode="aspectFill" :src='item'
								@tap.stop="multiImagePreview(item,detailsData.photo,'')"></image>
						</view>
					</template>
				</view>
			</view>

			<!---订单信息flex布局结束-->
			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout orderDetailes_flex_4"
				v-if=" detailsData.quoted_price.length!=0">
				<template v-for='(item,key0) in detailsData.quoted_price'>
					<view class='flex flex-direction flex-wrap align-stretch justify-end' :key='key0'>
						<view class='flex flex-wrap align-center justify-between orderDetailes_fd4_0_c0'>
							<text class='orderDetailes_fd4_0_c0_c0'>{{item.create_time}}</text>
							<text class='orderDetailes_fd4_0_c0_c1' v-if=" item.order_type=='3'">加价</text><text
								class='orderDetailes_fd4_0_c0_c1' v-if=" item.order_type=='2'">报价</text>
							<text class='orderDetailes_fd4_0_c0_c2'>{{item.zhifuzhuangtai_name}}</text>
						</view>
						<view class='flex flex-wrap align-center orderDetailes_fd4_0_c1'>
							<template v-for='(child,key1) in item.image'>
								<view class='flex flex-wrap align-center orderDetailes_fd4_0_c1_c0' :key='key1'>
									<image class='orderDetailes_fd4_0_c1_c0_c0' mode="aspectFill" :src='child'
										@tap.stop="multiImagePreview(child,item.image,'')"></image>
								</view>
							</template>

						</view>
						<view class='flex flex-wrap align-start orderDetailes_fd4_0_c2' v-if=" item.descr!=''">
							<text class='orderDetailes_fd4_0_c2_c0'>备注</text>
							<text class='flex-sub orderDetailes_fd4_0_c2_c1'>{{item.descr}}</text>
						</view>
						<view class='flex flex-wrap align-center justify-end orderDetailes_fd4_0_c3'>
							<text class='orderDetailes_fd4_0_c3_c0' v-if=" item.order_type=='3'">我的加价：</text>
							<text class='orderDetailes_fd4_0_c3_c0' v-if=" item.order_type=='2'">我的报价：</text>
							<view class='flex flex-wrap align-end orderDetailes_fd4_0_c3_c1'>
								<text class='orderDetailes_fd4_0_c3_c1_c0'>￥</text>
								<text class=' orderDetailes_fd4_0_c3_c1_c1'>
									<text>{{ item.pay_money | frontPrice }}</text>
									<text
										class=' orderDetailes_price2_fd4_0_c3_c1_c1'>{{ item.pay_money | laterPrice }}</text>
								</text>
							</view>
						</view>
					</view>
				</template>

			</view>

			<!---flex布局flex布局结束-->
			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout orderDetailes_flex_5"
				v-if=" in_array(detailsData.order_status,'35,40,45')">
				<text class='orderDetailes_fd5_0'>服务完成</text>
				<view class='flex flex-wrap align-center orderDetailes_fd5_1'>
					<template v-for='(item,key0) in detailsData.over_photo'>
						<view class='flex flex-wrap align-center orderDetailes_fd5_1_c0' :key='key0'>
							<image class='orderDetailes_fd5_1_c0_c0' mode="aspectFill" :src='item'
								@tap.stop="multiImagePreview(item,detailsData.over_photo,'')"></image>
						</view>
					</template>

				</view>
				<view class='flex flex-wrap align-start orderDetailes_fd5_2' v-if=" detailsData.over_notes!=''">
					<text class='orderDetailes_fd5_2_c0'>备注</text>
					<text class='flex-sub orderDetailes_fd5_2_c1'>{{detailsData.over_notes}}</text>
				</view>
			</view>

			<!---flex布局flex布局结束-->
			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout orderDetailes_flex_6">
				<view class='flex flex-wrap align-center orderDetailes_fd6_0'>
					<view class='flex flex-wrap align-center orderDetailes_fd6_0_c0'>
					</view>
					<text class='orderDetailes_fd6_0_c1'>订单信息</text>
				</view>
				<view class='flex flex-wrap align-start orderDetailes_fd6_1' v-if="detailsData.order_sn">
					<text class='orderDetailes_fd6_1_c0'>订单编号</text>
					<text class='flex-sub orderDetailes_fd6_1_c1'>{{detailsData.order_sn}}</text>
				</view>
				<view class='flex flex-wrap align-start orderDetailes_fd6_1' v-if="detailsData.create_time">
					<text class='orderDetailes_fd6_1_c0'>下单时间</text>
					<text class='flex-sub orderDetailes_fd6_1_c1'>{{detailsData.create_time}}</text>
				</view>
				<view class='flex flex-wrap align-start orderDetailes_fd6_1' v-if="detailsData.deposit_amount.pay_time">
					<text class='orderDetailes_fd6_1_c0'>支付时间</text>
					<text class='flex-sub orderDetailes_fd6_1_c1'>{{detailsData.deposit_amount.pay_time}}</text>
				</view>
				<view class='flex flex-wrap align-start orderDetailes_fd6_1'
					v-if="detailsData.jiedanren_info.departure_time">
					<text class='orderDetailes_fd6_1_c0'>上门时间</text>
					<text class='flex-sub orderDetailes_fd6_1_c1'>{{detailsData.jiedanren_info.departure_time}}</text>
				</view>
				<view class='flex flex-wrap align-start orderDetailes_fd6_1'
					v-if="detailsData.deposit_amount.pay_money">
					<text class='orderDetailes_fd6_1_c0'>订单总额</text>
					<text class='orderDetailes_fd6_1_c1'>￥</text>
					<text class='orderDetailes_fd6_1_c1'>{{detailsData.subtotal}}</text>
				</view>
				<view class='flex flex-wrap align-start orderDetailes_fd6_1'
					v-if="detailsData.deposit_amount.zhifufangshi_name">
					<text class='orderDetailes_fd6_1_c0'>支付方式</text>
					<text class='orderDetailes_fd6_1_c1'>{{detailsData.deposit_amount.zhifufangshi_name}}</text>
				</view>
			</view>

			<!---flex布局flex布局结束-->
			<benben-popup v-model="popupShow1693365018608" :mask="true" :mask-close-able="true" mode='center'>
				<!---接单提醒flex布局开始-->
				<view class="flex flex-direction flex-wrap align-center orderDetailes_flex_7">
					<text class='orderDetailes_fd7_0'>提示</text>
					<text class='orderDetailes_fd7_1'>是否确认接单？</text>
					<view class='flex flex-wrap align-center orderDetailes_fd7_2'>
						<button class='orderDetailes_fd7_2_c0' @tap.stop="popupShow1693365018608=false">取消</button>
						<button class='orderDetailes_fd7_2_c1' @tap.stop="postConnectOrderFunc()">确定</button>
					</view>
				</view>

				<!---接单提醒flex布局结束-->

			</benben-popup>
			<view class="flex benben-position-layout flex flex-wrap align-center orderDetailes_flex_8">
				<view class='flex flex-wrap align-center justify-end flex-sub orderDetailes_fd8_0'>
					<button class='orderDetailes_fd8_0_c0' @tap.stop="handleJumpDiy" data-type="navigateTo"
						:data-url="`/pages/wode/contactCustomerService/contactCustomerService`">联系客服</button>
					<button class='orderDetailes_fd8_0_c1' @tap.stop="popupShow1694829090006=true"
						v-if=" detailsData.order_status=='17'">开始服务</button><button class='orderDetailes_fd8_0_c1_1'
						@tap.stop="handleJumpDiy" data-type="navigateTo"
						:data-url="`/pages/dingdan/quoteNow/quoteNow?sn=${detailsData.aid}&service_type=${detailsData.service_type}&order_status=${detailsData.order_status}&typess=1`"
						v-if=" detailsData.order_status=='30'">加价</button>
					<button class='orderDetailes_fd8_0_c2' @tap.stop="popupShow1694829226382=true"
						v-if=" detailsData.order_status=='15'">开始上门</button><button class='orderDetailes_fd8_0_c2'
						@tap.stop="handleJumpDiy" data-type="navigateTo"
						:data-url="`/pages/dingdan/quoteNow/quoteNow?sn=${detailsData.aid}&service_type=${detailsData.service_type}&order_status=${detailsData.order_status}`"
						v-if=" detailsData.order_status=='20'">报价</button><button class='orderDetailes_fd8_0_c2'
						@tap.stop="handleJumpDiy" data-type="navigateTo"
						:data-url="`/pages/dingdan/repairCompleted/repairCompleted?sn=${detailsData.aid}`"
						v-if=" in_array(detailsData.order_status,'30')">确认完成</button><button
						class='orderDetailes_fd8_0_c2' @tap.stop="handleJumpDiy" data-type="navigateTo"
						:data-url="`/pages/index/userEvaluation/userEvaluation?id=${detailsData.aid}`"
						v-if=" detailsData.order_status=='45'">查看评价</button><button class='orderDetailes_fd8_0_c2'
						@tap.stop="jumpFunc()"
						v-if=" detailsData.service_type!='3' && detailsData.order_status=='10'">接单</button><button
						class='orderDetailes_fd8_0_c2' @tap.stop="determineQuotationFunc()"
						v-if=" detailsData.service_type=='3' && detailsData.order_status=='5'">报价</button>
				</view>

			</view>
			<view :style="{height: '100rpx'}"></view>
			<benben-popup v-model="popupShow1694829090006" :mask="true" :mask-close-able="true" mode='center'>
				<!---开始服务弹窗flex布局开始-->
				<view class="flex flex-direction flex-wrap align-center orderDetailes_flex_9"
					@tap.stop="popupShow1650940432200=true">
					<text class='orderDetailes_fd9_0'>提示</text>
					<text class='orderDetailes_fd9_1'>确定要开始服务吗？</text>
					<view class='flex flex-wrap align-center orderDetailes_fd9_2'>
						<button class='orderDetailes_fd9_2_c0' @tap.stop="popupShow1694829090006=false">取消</button>
						<button class='orderDetailes_fd9_2_c1' @tap.stop="postSrviceFunc()">确定</button>
					</view>
				</view>

				<!---开始服务弹窗flex布局结束-->

			</benben-popup>
			<benben-popup v-model="popupShow1694829226382" :mask="true" :mask-close-able="true" mode='center'>
				<!---开始上门弹窗flex布局开始-->
				<view class="flex benben-flex-layout flex-wrap align-center">
					<view class='flex flex-direction flex-wrap align-center orderDetailes_fd10_0'>
						<text class='orderDetailes_fd10_0_c0'>提示</text>
						<text class='orderDetailes_fd10_0_c1'>确定要开始上门吗？</text>
						<view class='flex flex-wrap align-center orderDetailes_fd10_0_c2'>
							<button class='orderDetailes_fd10_0_c2_c0'
								@tap.stop="popupShow1694829226382=false">取消</button>
							<button class='orderDetailes_fd10_0_c2_c1' @tap.stop="postSetOutFunc()">确认</button>
						</view>
					</view>
				</view>

				<!---开始上门弹窗flex布局结束-->

			</benben-popup>


		</view>
	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},


		data() {
			return {
				"popupShow1694829226382": false,
				"popupShow1694829090006": false,
				"popupShow1693365018608": false,
				"detailsData": {
					"aid": "",
					"order_sn": "",
					"order_status": "",
					"retainer": "",
					"two_money": "",
					"door_time": "",
					"serviceproject_tupian": [],
					"serviceproject_biaoti": "",
					"serviceproject_aid": "",
					"user_nickname": "",
					"user_mobile": "",
					"notes": "",
					"pingtaiyouhuiquanid": "",
					"photo": [],
					"coupon_money": "",
					"discount_money": "",
					"jiedanren": "",
					"create_time": "",
					"master_tel": "",
					"service_info": "",
					"order_status_name": "",
					"jiedanren_info": {
						"shifudaodashijian": "",
						"nickname": "",
						"avatar": "",
						"mobile": "",
						"fuwuxingji": "",
						"departure_time": "",
						"lng": "",
						"lat": ""
					},
					"address_info": {
						"aid": "",
						"create_time": "",
						"address": "",
						"contacts": "",
						"telephone": "",
						"lng": "",
						"lat": "",
						"sex": ""
					},
					"over_photo": [],
					"over_notes": "",
					"countdown": "",
					"payable_money": "",
					"peijian": [],
					"completion_time": "",
					"refund": [],
					"discount_money2": "",
					"subtotal": "",
					"total_amount": "",
					"serviceproject_photo": "",
					"discount_amount": "",
					"arriv_time": "",
					"toll_amount": "",
					"user_id": "",
					"invoice": "",
					"deposit_amount": {
						"aid": "",
						"pay_order_sn": "",
						"pay_money": "",
						"pay_sn": "",
						"pay_way": "",
						"pay_status": "",
						"order_type": "",
						"pay_time": "",
						"zhifufangshi_name": "",
						"zhifuzhuangtai_name": "",
						"dingdanleixing_name": "",
						"front_money": ""
					},
					"two_amount": {
						"aid": "",
						"pay_order_sn": "",
						"pay_money": "",
						"pay_sn": "",
						"pay_way": "",
						"pay_status": "",
						"order_type": "",
						"pay_time": "",
						"zhifufangshi_name": "",
						"zhifuzhuangtai_name": "",
						"dingdanleixing_name": "",
						"front_money": ""
					},
					"lowest_money": "",
					"two_price": "",
					"service_photo": [],
					"service_type": "",
					"coupon_id": "",
					"discount_ratio": "",
					"quoted_price": [],
					"front_money_sum": "",
					"pay_money_sum": "",
					"discount_money_sum": "",
					"bidding": {
						"bidding_price": "",
						"bidding_remark": "",
						"binding_image": []
					},
					"service_money": "",
					"specs_name": "",
					"level_service_money": "",
					"pay_money": ""
				},
				"userData": {
					"invite_code": "",
					"address": "",
					"address_code": "",
					"hobby": "",
					"tags": "",
					"id": "",
					"userlevel_id": "",
					"mobile": "",
					"real_name": "",
					"nickname": "",
					"avatar": "",
					"account": "",
					"email": "",
					"birthday": "",
					"gender": "",
					"create_time": "",
					"user_money": "",
					"freeze_money": "",
					"total_consumption_money": "",
					"score": "",
					"_mobile": "",
					"coupon": "",
					"collection_count": "",
					"browse_count": "",
					"total_money": "",
					"certified": "",
					"is_pay_password": "",
					"fuwuxingji": "",
					"gongzuozhuangtai": "",
					"shuzi": "",
					"jifen": "",
					"yajin": "",
					"level": {
						"aid": "",
						"name": "",
						"icon": "",
						"levelid": ""
					},
					"invite_num": "",
					"commission": "",
					"is_deposit": "",
					"is_account": "",
					"dengjidaoqishijian": "",
					"suozaidi": "",
					"huiyuanyue": "",
					"working_hours": "",
					"credit_score": "",
					"deposit": "",
					"deposit_switch": "",
					"withdrawal": "",
					"account_wx": "",
					"account_alipay": "",
					"account_bank": ""
				},
				"id": "",
				"message_id": ""
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},
			userInfo: {
				get() {
					return this.$store.state.userInfo
				},
				set() {
					this.$store.commit('updateUserInfo', value)
				},
			}
		},
		watch: {},
		onLoad(options) {
			let {
				id,
				message_id
			} = options
			if (id !== undefined) this.id = id
			if (message_id !== undefined) this.message_id = message_id
			this.getUserDataFunc()
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {
			this.getDetailsFunc()
			this.getMessageFunc()
		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {
			this.getDetailsFunc()
		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//获取订单详情信息
			async getDetailsFunc() {
				//请求方法
				//数据验证

				let datadetailsData = await this.$api.get(global.apiUrls.post63a0176598251, {
					aid: this.id
				});

				if (datadetailsData.data.code != 1) {
					this.$message.info(datadetailsData.data.msg);
					return
				}
				let infodetailsData = datadetailsData.data;
				this.detailsData = infodetailsData.data

			},
			//提交开始出发
			async postSetOutFunc() {
				//请求方法
				//数据验证

				let data64df3c44c07b0 = await this.$api.dbGet(global.apiUrls.post64df3c44c07b0, {
					order_id: this.id
				});
				if (!data64df3c44c07b0) return
				if (data64df3c44c07b0.data.code != 1) {
					this.$message.info(data64df3c44c07b0.data.msg);
					return
				}



				this.popupShow1694829226382 = false;
				setTimeout(() => {
					this.getDetailsFunc()
				}, 500)
			},
			//提交开始服务
			async postSrviceFunc() {
				//请求方法
				//数据验证

				let data64e5da0b1af1c = await this.$api.dbPost(global.apiUrls.post64e5da0b1af1c, {
					aid: this.id
				});
				if (!data64e5da0b1af1c) return
				if (data64e5da0b1af1c.data.code != 1) {
					this.$message.info(data64e5da0b1af1c.data.msg);
					return
				}



				this.popupShow1694829090006 = false;
				setTimeout(() => {
					this.getDetailsFunc()
				}, 500)
			},
			//提交接单
			async postConnectOrderFunc() {
				//请求方法
				//数据验证

				let data639449f82b710 = await this.$api.dbPost(global.apiUrls.post639449f82b710, {
					aid: this.id
				});
				if (!data639449f82b710) return
				if (data639449f82b710.data.code != 1) {
					this.$message.info(data639449f82b710.data.msg);
					return
				}



				this.popupShow1693365018608 = false;
				this.$urouter.switchTab(`/pages/tabBar/order/order`);
			},
			//判断是否能接单
			jumpFunc() {
				if (this.userData.gongzuozhuangtai == 0) {
					this.$message.info('请先开启接单');
					this.$urouter.switchTab(`/pages/tabBar/mys/mys`);
				} else if (this.userData.certified == '2' && this.userData.gongzuozhuangtai == '1' || this.userData
					.is_deposit == '1') {
					this.popupShow1693365018608 = true;
				} else if (this.userData.deposit_switch == 0) {
					this.popupShow1693365018608 = true;
				} else if (this.userData.deposit_switch == '1' && this.userData.is_deposit == 0) {
					this.$message.info('请先缴纳保证金再接单');
					this.$urouter.navigateTo(`/pages/wode/dataMargin/dataMargin`);
				} else if (this.userData.deposit_switch == '1' && this.userData.is_deposit == '1') {
					this.popupShow1693365018608 = true;
				} else if (this.userData.certified == '-1') {
					this.$message.info('您还没有提交入驻申请，请先提交');
					this.$urouter.navigateTo(`/pages/login/improveData/improveData`);
				} else if (this.userData.certified == '1') {
					this.$message.info('您的入驻申请正在审核中，暂时无法接单');
				} else if (this.userData.certified == '3') {
					this.$message.info('您的入驻申请审核失败，请重新提交');
					this.$urouter.navigateTo(`/pages/login/improveData/improveData`);
				}
			},
			//判断是否能报价
			determineQuotationFunc() {
				if (this.userData.gongzuozhuangtai == 0) {
					this.$message.info('请先开启接单');
					this.$urouter.switchTab(`/pages/tabBar/mys/mys`);
				} else if (this.userData.certified == '2' && this.userData.gongzuozhuangtai == '1' || this.userData
					.is_deposit == '1') {
					this.$urouter.navigateTo(
						`/pages/dingdan/quoteNow/quoteNow?sn=${this.detailsData.aid}&service_type=${this.detailsData.service_type}&order_status=${this.detailsData.order_status}`
					);
				} else if (this.userData.deposit_switch == 0) {
					this.$urouter.navigateTo(
						`/pages/dingdan/quoteNow/quoteNow?sn=${this.detailsData.aid}&service_type=${this.detailsData.service_type}`
					);
				} else if (this.userData.deposit_switch == '1' && this.userData.is_deposit == 0) {

				} else if (this.userData.deposit_switch == '1' && this.userData.is_deposit == '1') {
					this.$urouter.navigateTo(
						`/pages/dingdan/quoteNow/quoteNow?sn=${this.detailsData.aid}&service_type=${this.detailsData.service_type}`
					);
				} else {
					this.$message.info('您的入驻申请审核失败，请重新提交');
					this.$urouter.navigateTo(`/pages/login/improveData/improveData`);
				}
			},
			//获取用户信息
			async getUserDataFunc() {
				//请求方法
				//数据验证

				let datauserData = await this.$api.get(global.apiUrls.post5c78c4772da97, {
					user_id: this.userInfo.id
				});

				if (datauserData.data.code != 1) {
					this.$message.info(datauserData.data.msg);
					return
				}
				let infouserData = datauserData.data;
				this.userData = infouserData.data

			},
			//读取订单消息
			async getMessageFunc() {
				if (this.message_id != '') {
					//请求方法
					//数据验证

					let data65fea687e3102 = await this.$api.get(global.apiUrls.post65fea687e3102, {
						message_id: this.message_id
					});

					if (data65fea687e3102.data.code != 1) {
						this.$message.info(data65fea687e3102.data.msg);
						return
					}



				}
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: url(image-path('147.png')) no-repeat;
		background-size: 100% auto;
	}

	.orderDetailes_flex_0 {
		background: rgba(255, 255, 255, 1);
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.orderDetailes_fd0_0_c1 {
		font-size: 36rpx;
		font-weight: 500;
		color: rgba(51, 51, 51, 1);
	}

	.orderDetailes_fd0_0_c0_c0 {
		font-size: 32rpx;
		color: rgba(51, 51, 51, 1);
	}

	.orderDetailes_fd0_0_c0 {
		width: 120rpx;
		height: 88rpx;
	}

	.orderDetailes_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		height: 88rpx;
	}

	.orderDetailes_flex_1 {
		background: rgba(48, 144, 255, 1);
		padding: 35rpx 65rpx 35rpx 65rpx;
		background-size: 100% auto;
		margin: 0rpx 0rpx 24rpx 0rpx;
	}

	.orderDetailes_fd1_1 {
		color: #FFFFFF;
		font-size: 32rpx;
		font-weight: 500;
		line-height: 45rpx;
	}

	.orderDetailes_fd1_0 {
		width: 34rpx;
		height: 34rpx;
		margin: 0rpx 24rpx 0rpx 0rpx;
	}

	.orderDetailes_flex_2 {
		background: #fff;
		padding: 40rpx 24rpx 40rpx 24rpx;
		position: relative;
		background-size: 100% auto !important;
		margin: 0rpx 24rpx 20rpx 24rpx;
		border-radius: 16rpx;
	}

	.orderDetailes_fd2_3 {
		width: 750rpx;
		height: 6rpx;
		position: absolute;
		bottom: 0rpx;
		left: 0rpx;
	}

	.orderDetailes_fd2_2 {
		width: 12rpx;
		height: 21rpx;
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.orderDetailes_fd2_1_c1 {
		font-size: 28rpx;
		font-weight: 400;
		color: rgba(102, 102, 102, 1);
		margin: 19rpx 0rpx 0rpx 0rpx;
	}

	.orderDetailes_fd2_1_c0_c4 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 500;
		margin: 0rpx 0rpx 0rpx 24rpx;
		line-height: 40rpx;
	}

	.orderDetailes_fd2_1_c0_c0 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 700;
		line-height: 45rpx;
	}

	.orderDetailes_fd2_1_c0 {
		line-height: 40rpx;
	}

	.orderDetailes_fd2_1 {
		margin: 0rpx 0rpx 0rpx 28rpx;
	}

	.orderDetailes_fd2_0 {
		width: 60rpx;
		height: 60rpx;
	}

	.orderDetailes_flex_3 {
		background: #fff;
		padding: 0rpx 24rpx 0rpx 24rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		background-size: 100% auto !important;
		margin: 0rpx 24rpx 20rpx 24rpx;
	}

	.orderDetailes_fd3_3_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 40rpx;
	}

	.orderDetailes_fd3_3_c0 {
		color: #999999;
		font-size: 28rpx;
		font-weight: 400;
		margin: 0rpx 40rpx 0rpx 0rpx;
		line-height: 40rpx;
	}

	.orderDetailes_fd3_2_c0_c0 {
		width: 140rpx;
		height: 140rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.orderDetailes_fd3_2_c0 {
		margin: 0rpx 20rpx 24rpx 0rpx;
	}

	.orderDetailes_fd3_2 {
		margin: 0rpx 0rpx 8rpx 0rpx;
	}

	.orderDetailes_price2_fd3_1_c1_c2_c1_c1 {
		font-size: 22rpx;
	}

	.orderDetailes_fd3_1_c1_c2_c1_c1 {
		color: #FF5050;
		font-weight: 700;
		line-height: 40rpx;
		font-size: 32rpx;
	}

	.orderDetailes_fd3_1_c1_c2_c1_c0 {
		color: #FF5050;
		font-size: 22rpx;
		font-weight: 700;
		line-height: 40rpx;
	}

	.orderDetailes_fd3_1_c1_c2_c1 {
		margin: 0rpx 0rpx 0rpx 10rpx;
	}

	.orderDetailes_fd3_1_c1_c2_c0 {
		color: #999999;
		font-size: 20rpx;
		line-height: 28rpx;
		font-weight: 400;
	}

	.orderDetailes_fd3_1_c1_c1_c0 {
		color: rgba(153, 153, 153, 1);
		font-size: 24rpx;
		font-weight: 400;
		line-height: 33rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.orderDetailes_fd3_1_c1_c1 {
		color: rgba(153, 153, 153, 1);
	}

	.orderDetailes_fd3_1_c1_c0 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 700;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		line-height: 45rpx;
	}

	.orderDetailes_fd3_1_c1 {
		height: 160rpx;
	}

	.orderDetailes_fd3_1_c0 {
		width: 160rpx;
		height: 160rpx;
		border-radius: 16rpx;
		margin: 0rpx 24rpx 0rpx 0rpx;
	}

	.orderDetailes_fd3_1 {
		margin: 0rpx 0rpx 32rpx 0rpx;
	}

	.orderDetailes_fd3_0_c1 {
		color: #333333;
		font-size: 28rpx;
		line-height: 40rpx;
		font-weight: 700;
	}

	.orderDetailes_fd3_0_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 700;
		margin: 0rpx 12rpx 0rpx 0rpx;
		line-height: 40rpx;
	}

	.orderDetailes_fd3_0 {
		margin: 32rpx 0rpx 32rpx 0rpx;
	}

	.orderDetailes_flex_4 {
		background: rgba(255, 255, 255, 1);
		margin: 0rpx 24rpx 24rpx 24rpx;
		background-size: 100% auto;
		border-radius: 16rpx;
		padding: 32rpx 24rpx 0rpx 24rpx;
	}

	.orderDetailes_price2_fd4_0_c3_c1_c1 {
		font-size: 22rpx;
	}

	.orderDetailes_fd4_0_c3_c1_c1 {
		color: #FF5050;
		font-weight: 700;
		line-height: 40rpx;
		font-size: 32rpx;
	}

	.orderDetailes_fd4_0_c3_c1_c0 {
		color: #FF5050;
		font-size: 22rpx;
		font-weight: 900;
		line-height: 40rpx;
	}

	.orderDetailes_fd4_0_c3_c1 {
		margin: 0rpx 0rpx 0rpx 10rpx;
	}

	.orderDetailes_fd4_0_c3_c0 {
		color: #666666;
		font-size: 24rpx;
		line-height: 33rpx;
		font-weight: 500;
	}

	.orderDetailes_fd4_0_c3 {
		border-top: 1px solid #eee;
		padding: 32rpx 0rpx 32rpx 0rpx;
	}

	.orderDetailes_fd4_0_c2_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
	}

	.orderDetailes_fd4_0_c2_c0 {
		color: #999999;
		font-size: 28rpx;
		font-weight: 400;
		margin: 0rpx 40rpx 0rpx 0rpx;
	}

	.orderDetailes_fd4_0_c2 {
		line-height: 40rpx;
		margin: 0rpx 0rpx 32rpx 0rpx;
	}

	.orderDetailes_fd4_0_c1_c0_c0 {
		width: 140rpx;
		height: 140rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.orderDetailes_fd4_0_c1_c0 {
		margin: 0rpx 20rpx 24rpx 0rpx;
	}

	.orderDetailes_fd4_0_c1 {
		padding: 0rpx 0rpx 0rpx 0rpx;
	}

	.orderDetailes_fd4_0_c0_c2 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 700;
		line-height: 40rpx;
	}

	.orderDetailes_fd4_0_c0_c1 {
		border: 1px solid rgba(48, 144, 255, 1);
		color: rgba(48, 144, 255, 1);
		font-size: 24rpx;
		font-weight: 500;
		line-height: 40rpx;
		margin: 0rpx 8rpx 0rpx auto;
		border-radius: 16rpx;
		padding: 0rpx 8rpx 0rpx 8rpx;
	}

	.orderDetailes_fd4_0_c0_c0 {
		color: #666666;
		font-size: 24rpx;
		font-weight: 500;
		line-height: 33rpx;
	}

	.orderDetailes_fd4_0_c0 {
		margin: 0rpx 0rpx 32rpx 0rpx;
	}

	.orderDetailes_flex_5 {
		background: #fff;
		padding: 0rpx 24rpx 0rpx 24rpx;
		background-size: 100% auto !important;
		margin: 0rpx 24rpx 20rpx 24rpx;
		border-radius: 16rpx;
	}

	.orderDetailes_fd5_2_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
	}

	.orderDetailes_fd5_2_c0 {
		color: #999999;
		font-size: 28rpx;
		font-weight: 400;
		margin: 0rpx 40rpx 0rpx 0rpx;
	}

	.orderDetailes_fd5_2 {
		margin: 0rpx 0rpx 32rpx 0rpx;
	}

	.orderDetailes_fd5_1_c0_c0 {
		width: 140rpx;
		height: 140rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.orderDetailes_fd5_1_c0 {
		margin: 0rpx 20rpx 24rpx 0rpx;
	}

	.orderDetailes_fd5_1 {
		margin: 0rpx 0rpx 8rpx 0rpx;
	}

	.orderDetailes_fd5_0 {
		color: #393939;
		font-size: 32rpx;
		font-weight: 700;
		line-height: 45rpx;
		margin: 32rpx 0rpx 32rpx 0rpx;
	}

	.orderDetailes_flex_6 {
		background: #fff;
		padding: 0rpx 24rpx 0rpx 24rpx;
		background-size: 100% auto !important;
		margin: 0rpx 24rpx 40rpx 24rpx;
		border-radius: 16rpx;
	}

	.orderDetailes_fd6_1_c1 {
		color: #333333;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 33rpx;
	}

	.orderDetailes_fd6_1_c0 {
		margin: 0rpx 40rpx 0rpx 0rpx;
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 33rpx;
	}

	.orderDetailes_fd6_1 {
		margin: 0rpx 0rpx 32rpx 0rpx;
	}

	.orderDetailes_fd6_0_c1 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 700;
		line-height: 45rpx;
	}

	.orderDetailes_fd6_0_c0 {
		background: rgba(48, 144, 255, 1);
		width: 6rpx;
		height: 30rpx;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
		background-size: 100% auto;
		margin: 0rpx 16rpx 0rpx 0rpx;
	}

	.orderDetailes_fd6_0 {
		border-bottom: 1px solid #eee;
		padding: 32rpx 0rpx 24rpx 0rpx;
		margin: 0rpx 0rpx 32rpx 0rpx;
	}

	.orderDetailes_flex_7 {
		background: #fff;
		margin: 0rpx 105rpx 0rpx 105rpx;
		background-size: #eee;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		padding: 54rpx 0rpx 0rpx 0rpx;
	}

	.orderDetailes_fd7_2_c1 {
		background: transparent;
		line-height: 100rpx;
		border-radius: 0rpx 0rpx 16rpx 0rpx;
		font-size: 32rpx;
		color: rgba(48, 144, 255, 1);
		width: 269rpx;
		height: 100rpx;
	}

	.orderDetailes_fd7_2_c0 {
		border-right: 1px solid #EEEEEE;
		background: transparent;
		line-height: 100rpx;
		border-radius: 0rpx 0rpx 0rpx 16rpx;
		font-size: 32rpx;
		color: rgba(153, 153, 153, 1);
		width: 270rpx;
		height: 100rpx;
	}

	.orderDetailes_fd7_2 {
		border-top: 1px solid #eee;
	}

	.orderDetailes_fd7_1 {
		color: #333333;
		font-size: 32rpx;
		line-height: 44rpx;
		font-weight: 400;
		text-align: center;
		margin: 40rpx 0rpx 56rpx 0rpx;
	}

	.orderDetailes_fd7_0 {
		font-weight: 500;
		font-size: 32rpx;
		line-height: 45rpx;
		color: #333333;
	}

	.orderDetailes_flex_8 {
		border-top: 1px solid #eee;
		background: rgba(255, 255, 255, 1);
		width: 750rpx;
		height: 100rpx;
		overflow: hidden;
		z-index: 10;
		bottom: calc(0rpx + var(--window-bottom));
	}

	.orderDetailes_fd8_0_c2 {
		background: #3090FF;
		border-radius: 30rpx 30rpx 30rpx 30rpx;
		font-size: 24rpx;
		color: rgba(255, 255, 255, 1);
		width: 156rpx;
		height: 60rpx;
		line-height: 60rpx;
		font-weight: 400;
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.orderDetailes_fd8_0_c1_1 {
		background: #3090FF;
		border-radius: 30rpx 30rpx 30rpx 30rpx;
		font-size: 24rpx;
		color: #fff;
		width: 156rpx;
		height: 60rpx;
		line-height: 60rpx;
		font-weight: 400;
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.orderDetailes_fd8_0_c1 {
		background: #3090FF;
		border-radius: 30rpx 30rpx 30rpx 30rpx;
		font-size: 24rpx;
		color: #fff;
		width: 156rpx;
		height: 60rpx;
		line-height: 60rpx;
		font-weight: 400;
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.orderDetailes_fd8_0_c0 {
		background: #F6F6F6;
		border-radius: 50rpx 50rpx 50rpx 50rpx;
		font-size: 24rpx;
		color: rgba(51, 51, 51, 1);
		width: 156rpx;
		height: 60rpx;
		line-height: 60rpx;
		font-weight: 400;
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.orderDetailes_fd8_0 {
		padding: 0rpx 24rpx 0rpx 0rpx;
		height: 100rpx;
	}

	.orderDetailes_flex_9 {
		background: #fff;
		width: 540rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.orderDetailes_fd9_2_c1 {
		border-top: 1px solid #eee;
		border-left: 1px solid #eee;
		background: #fff;
		line-height: 110rpx;
		border-radius: 0rpx 0rpx 16rpx 0rpx;
		font-size: 32rpx;
		color: rgba(48, 144, 255, 1);
		width: 263rpx;
	}

	.orderDetailes_fd9_2_c0 {
		border-top: 1px solid #eee;
		background: #fff;
		line-height: 110rpx;
		border-radius: 0rpx 0rpx 0rpx 16rpx;
		font-size: 32rpx;
		color: rgba(153, 153, 153, 1);
		padding: 0rpx 103rpx 0rpx 103rpx;
	}

	.orderDetailes_fd9_2 {
		margin: 37rpx 0rpx 0rpx 0rpx;
	}

	.orderDetailes_fd9_1 {
		line-height: 44rpx;
		font-size: 32rpx;
		font-weight: 500;
		color: #333333;
	}

	.orderDetailes_fd9_0 {
		font-size: 36rpx;
		font-weight: 800;
		line-height: 44rpx;
		color: #333333;
		margin: 40rpx 0rpx 40rpx 0rpx;
	}

	.orderDetailes_fd10_0_c2_c1 {
		background: #fff;
		font-size: 32rpx;
		color: rgba(48, 144, 255, 1);
		width: 262rpx;
		height: 101rpx;
		line-height: 101rpx;
		font-weight: 500;
	}

	.orderDetailes_fd10_0_c2_c0 {
		border-right: 1px solid #eee;
		background: #fff;
		font-size: 32rpx;
		color: rgba(153, 153, 153, 1);
		width: 270rpx;
		height: 101rpx;
		line-height: 101rpx;
		font-weight: 400;
	}

	.orderDetailes_fd10_0_c2 {
		border-top: 1px solid #eee;
		margin: 51rpx 0rpx 0rpx 0rpx;
	}

	.orderDetailes_fd10_0_c1 {
		line-height: 44rpx;
		font-size: 32rpx;
		font-weight: 500;
		color: #333333;
		text-align: center;
		margin: 32rpx 40rpx 0rpx 40rpx;
	}

	.orderDetailes_fd10_0_c0 {
		line-height: 44rpx;
		font-size: 36rpx;
		font-weight: 700;
		color: #333333;
		margin: 40rpx 0rpx 0rpx 0rpx;
	}

	.orderDetailes_fd10_0 {
		background: #fff;
		width: 540rpx;
		background-size: 100% auto !important;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.order_fd2_1_c0_c20089 {
		border: 1px solid #3090FF;
		color: #3090FF;
		font-size: 24rpx;
		font-weight: 700;
		line-height: 36rpx;
		padding: 0rpx 8rpx 0rpx 8rpx;
		border-radius: 8rpx;
		height: 36rpx;
		margin-right: auto;
	}
</style>